namespace FlowerShop.Core.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Tgood")]
    public partial class Tgood
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int G_id { get; set; }

        [Required]
        [StringLength(50)]
        public string G_name { get; set; }

        public int G_chenbenjia { get; set; }

        public int G_xiaoshoujia { get; set; }

        public int G_VIPjia { get; set; }

        public int G_kuchun { get; set; }

        [Required]
        [StringLength(50)]
        public string L_id { get; set; }

        [Required]
        [StringLength(50)]
        public string Y_id { get; set; }

        [StringLength(50)]
        public string Y_name { get; set; }

        [StringLength(500)]
        public string G_miaosu { get; set; }

        [StringLength(500)]
        public string G_huayu { get; set; }

        [StringLength(50)]
        public string Image { get; set; }

        [StringLength(500)]
        public string G_duixiang { get; set; }

        [StringLength(500)]
        public string G_changjing { get; set; }
    }
}
